#ifndef _TKJUDGEMENT_H_
#define _TKJUDGEMENT_H_

void JudgeTkStatus(unsigned char uctkcount);
//void ChangeToSlowClk(void);
void ChangeToFastClk(void);
void InitialIoport(void);
int TkConversion(unsigned char tkch);
void GetBaseline(unsigned char uctkcount);
unsigned char TkChannelSelection(unsigned char TkIndex);
void TkChannelReset(unsigned char TkIndex);
void CheckNoise(unsigned char uctkcount);
void OutputTkStatus(unsigned char uctkcount);
void InitialRegister(void);
unsigned int TKScan(void);
void PRO_TIMER3_SLEEP(void);
void CheckKeyDebounce(unsigned char uctkcount);
void ClearXRAM(void);

#endif